package com.xiaoshuidi.cloud.module.rooms.service;

import com.xiaoshuidi.cloud.framework.common.pojo.CommonResult;
import com.xiaoshuidi.cloud.framework.common.pojo.PageResult;
import com.xiaoshuidi.cloud.module.rooms.controller.admin.nonIntelligentDevice.vo.RoomDevicePriceVO;
import com.xiaoshuidi.cloud.module.rooms.pojo.RoomDevicePrice;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 水电费设置表 服务类
 * </p>
 *
 * @author James
 * @since 2023-06-07
 */
public interface IRoomDevicePriceService extends IService<RoomDevicePrice> {

    CommonResult<String> addConfig(RoomDevicePriceVO roomDevicePriceVO);

    CommonResult<PageResult<RoomDevicePriceVO>> findAll(Integer pageSize, Integer pageNum);

    CommonResult<String> deleteConfig(Long devicePriceId);

    CommonResult<String> updateConfig(RoomDevicePriceVO roomDevicePriceVO);
}
